package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.OrdersDto;
import com.itheima.reggie.entity.Orders;


/**
 * @author Xiao
 * @date 2021/9/28
 */
public interface OrderService extends IService<Orders> {
    Page<Orders> getOrderDetailPage(Integer page, Integer pageSize, String number, String beginTime, String endTime);
    boolean editOrderDetail(Orders orders);
    void addOrderApi(Orders orders);
    Page<OrdersDto> orderPagingApi(Integer page, Integer pageSize);
    boolean orderAgainApi(Orders orders);
}
